package com.kclm.se.proxy.cglib;

import com.kclm.se.proxy.UserDao;
import com.kclm.se.proxy.UserDaoImpl;

public class TestCglibProxy {

	public static void main(String[] args) {
		UserDao userDao = new UserDaoImpl();
		//
		UserDao proxy = (UserDao) CglibProxyFactory.getProxyInstance(userDao);
		//
		proxy.save("张三");
	}	
}
